package com.dao;

import com.domain.Whour;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("whourDao")
public interface WhourDao {

    Whour findWhourByEmployeeNumber(@Param("number") String number);

    List<Whour> showWhour();

    List<Whour> findListWhourByEmployeeNumber(@Param("number") String number);

    Integer deleteWhourByTeamId(@Param("team_id")Integer team_id);

    Integer deleteWhourByEmpNumber(@Param("team_id")Integer team_id,@Param("number") String number);

}
